package com.wms.common.enums;

import lombok.Getter;

@Getter
public enum TaskEnum {

    IS_LEAVE_0(0,"未离开"),
    IS_LEAVE_1(1,"已离开"),
    STOCK_TYPE_0(0,"入库"),
    STOCK_TYPE_1(1,"出库"),
    TYPE_0(0,"线体入库"),
    TYPE_1(1,"堆垛机入库"),
    TYPE_2(2,"订单出库"),
    TYPE_3(3,"手动出库"),
    TYPE_4(4,"直发"),
    TYPE_5(5,"返修"),
    STATUS_0(0,"未下发"),
    STATUS_1(1,"已下发"),
    STATUS_2(2,"执行中"),
    STATUS_3(3,"已完成"),
    STATUS_4(4,"已取消");

    final Integer code;
    final String message;

    TaskEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }

}
